#ifndef GAME_ENGINE_H
#define GAME_ENGINE_H


#include"State.h"
#include <map>
#include "StateEnum.h"
#include <memory>
#include <functional>
#include "CharacterManager.h"
#include <SFML/Graphics.hpp>
#include <gtest/gtest.h>

#include "inGame.h"
#include "Menu.h"
#include "LooseGame.h"
#include "WinGame.h"
#include "NextLevel.h"

#include "MusicPlayer.h"
class GameEngine{
	
public:

	GameEngine();  
	std::map <StateEnum,State*> getStateMap();
	static void giveTokenTo(StateEnum  state);
	
	

private:
	
	 static sf::RenderWindow window;
	 static std::map <StateEnum, State*> stateMap;


};






#endif